From 2dcbe27a06d2a0ef4c3ba507d41243d1c6565117 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Tue, 4 Feb 2014 17:48:33 -0500 Subject: [PATCH] docs: don't use command line option. + * `--display` command line option. * * Returns: the name of the display. * @@ -1098,7 +1098,7 @@ gdk_threads_add_timeout_seconds (guint interval, * gdk_get_program_class: * * Gets the program class. Unless the program class has explicitly - * been set with gdk_set_program_class() or with the + * been set with gdk_set_program_class() or with the `--class` * commandline option, the default value is the program name (determined * with g_get_prgname()) with the first character converted to uppercase. * diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c index a569d6d3d3..70bd6d8429 100644 --- a/gdk/gdkevents.c +++ b/gdk/gdkevents.c @@ -1975,7 +1975,7 @@ gdk_event_get_event_sequence (const GdkEvent *event) * * Sets whether a trace of received events is output. * Note that GTK+ must be compiled with debugging (that is, - * configured using the option) + * configured using the `--enable-debug` option) * to use this option. **/ void diff --git a/gdk/x11/gdkmain-x11.c b/gdk/x11/gdkmain-x11.c index 0b4a7d6e3d..b99e1fe2db 100644 --- a/gdk/x11/gdkmain-x11.c +++ b/gdk/x11/gdkmain-x11.c @@ -453,7 +453,7 @@ gdk_x11_get_default_root_xwindow (void) * Gets the default GTK+ display. * * Return value: (transfer none): the Xlib Display* for - * the display specified in the command + * the display specified in the `--display` command * line option or the `DISPLAY` environment variable. **/ Display * diff --git a/gtk/deprecated/gtkrc.c b/gtk/deprecated/gtkrc.c index c35635e025..d7eb201ea1 100644 --- a/gtk/deprecated/gtkrc.c +++ b/gtk/deprecated/gtkrc.c @@ -86,7 +86,7 @@ * and `.gtkrc-3.0` in the users home directory. * (`SYSCONFDIR` defaults to * `/usr/local/etc`. It can be changed with the - * or options when + * `--prefix` or `--sysconfdir` options when * configuring GTK+.) * * The set of these default files diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index fe19e42655..9234782bbc 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -840,19 +840,19 @@ gtk_get_option_group (gboolean open_default_display) * argv parameter of main(), or %NULL. Any options * understood by GTK+ are stripped before return. * @parameter_string: (allow-none): a string which is displayed in - * the first line of output, after + * the first line of `--help` output, after * programname [OPTION...] * @entries: (array zero-terminated=1): a %NULL-terminated array * of #GOptionEntrys describing the options of your program * @translation_domain: a translation domain to use for translating - * the output for the options in @entries + * the `--help` output for the options in @entries * and the @parameter_string with gettext(), or %NULL * @error: a return location for errors * * This function does the same work as gtk_init_check(). * Additionally, it allows you to add your own commandline options, * and it automatically generates nicely formatted - * output. Note that your program will + * `--help` output. Note that your program will * be terminated after writing out the help output. * * Returns: %TRUE if the windowing system has been successfully -- 2.30.2